<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <jsp:include page="header.jsp" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>商品评估</title>
</head>
<body>
<!-- 耶回收头部 -->
<!--left左侧信息  -->
<!--right右侧信息  -->

   <div class="right">
    <h2>基本信息</h2>
           ${back.id}
           <input id="back_id" type="hidden" value="${back.id}">
     <div class="select-property base-property" id="assess">
               <dl class="deactive"  v-for="as in assessment">
                    <!-- 评估条件 -->
                    <dt>
                <i>{{as.assessname}}</i><span class="selected-property"></span>
                <a href="javascript:;" target="_blank" class="ppn-tooltip tips" data-content="&amp;lt;p&amp;gt;&#xA;&#x9;&amp;lt;span style=&quot;font-family:Microsoft YaHei;&quot;&amp;gt;iPhone手机型号在手机背面，如图所示；如果没有符合的，请选择“其他”。&amp;lt;/span&amp;gt;&#xA;&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;&#xA;&#x9;&amp;lt;br /&amp;gt;&#xA;&amp;lt;/p&amp;gt;" data-imgs='["http://static.aihuishou.com/image?file=594734c5bad5020000000005"]'>
             如何查看型号
            <span class="icon">
            <span class="tooltip-cover tooltip-arrow-top">
                    <span class="bg"></span>
                        <span class="cover"></span>
                            </span>
                               </span>
                               </a>
                                 </dt> 
                                  <!-- 评估条件值 -->
                             <dd>
                                <ul data-ppn-name="" class="clearfix" >
                                  <li v-for="part in as.assessmentValues" class="property-value  width-small" >
                                     <input type="hidden">
                                     <div class="value-text">{{part.assess_value}}</div>
                                  </li>  
                                </ul>
                            </dd>
                        </dl>
                        </div>
                        </div>
                        <div>
<script type="text/javascript">
	//var id = $("#back_id").val();

	//获取商品的id
	/* $(function(){
		var v1 = new Vue({
            el: "#assess",
            data: {
                assessment:[]
            },
          filter:{
         	  
          },
          mounted:function(){
         	 this.assessView();
          },
            
	        method:{
	        assessView:function(){	 
	        var _this=this;
	         
	        
        this.$http.get("getAssess",{id:112}).then(function(res){
        _this.assessment=res.body.result.assessment;
        
        });
       
	        }
	        }
          
        });	
	}) */
   		
          
           
           
           //获取评估条件值 响应式
           $(function(){
        	   var id = $("#back_id").val();
        		alert(id);
        	   		  $.post("getAssessmentValue",{"id":id},function(data){
        	       		var v1 = new Vue({
        	                   el: '#assess',
        	                   data: {
        	                       assessment:data.assessment,//商品评估值数据
        	                   }
        	                   });
        	       	},"json"); 
        	   
           });
         


</script>


</body>
</html>